<#import "../baseftl/page.ftl" as comm />
<#assign security=JspTaglibs["http://www.springframework.org/security/tags"] /> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>管理区域</title>
<link href="${base}/css/left.css" rel="stylesheet" type="text/css">
<link href="${base}/scripts/validate/jquery.validate.css" type="text/css" rel="stylesheet" />
<script src="${base}/scripts/validate/jquery.validate.js" type="text/javascript"></script>
<script src="${base}/scripts/validate/messages_cn.js" type="text/javascript"></script>
<script>
	$(document).ready(function(){
		$("#name").focus();
		$("#inputForm").validate();
	});
	
</script>
</head>

<body>

<div class="messgin">
    <div class="biaoti">
	    <div class="biaoti_ziti" style="text-align:left; padding-left:50px;">
	        <#if role.id?default("") == "">创建<#else>修改</#if>角色</h3>
		 </div>	 
    </div>
	<div class="sotg">

	  <div class="tianxie1">
	  	<form id="inputForm" action="${base}/system/role/save.shtml" method="post">
<input type="hidden" name="role.id" value="${role.id?default("")}" />
<input type="hidden" name="role.version" value="${role.version?default("")}" />
<table class="inputView">
	<tr>
		<td>角色名称:</td>
		<td><input type="text" name="role.name" size="40" value="${role.name?default("")}" class="required"/></td>
	</tr>
	<tr>
		<td>授权:</td>
		<td>
		<div style="word-break:break-all;width:250px; overflow:auto; ">
			<@s.checkboxlist name="ids"  list="allAuthority"  listKey="id" listValue="name" cssClass="button"/>
		</div>
		</td>
	</tr>
	<tr>
		<td colspan="2">
			<input type="submit" value="提交" class="button"/>&nbsp; 
			<input type="button" value="取消" onclick="back();" class="button"/>
		</td>
	</tr>
</table>
</form>
	  </div>
	
	</div>
	<div class="left_di"></div>
	
  </div>




</body>
</html>